Case Management
This is a list of classes related to Case Management. The entry point into this feature is through the SCCaseInterface
class. Refer to that class to get started.
-
The
SCCaseInterface
class is the main interface to the Case Management SDK. Use this class to configure and customize the Case Management interface.To get an instance of this class, use the
See moreSCServiceCloud.cases
property on+[SCServiceCloud sharedInstance]
.Declaration
Objective-C
@interface SCCaseInterface : NSObject
Swift
class SCCaseInterface : NSObject
-
View controller that lets users see the details for a particular case.
Initialize this view controller with a case ID using
See more-[SCSCaseDetailViewController initWithCaseId:]
.Declaration
Objective-C
@interface SCSCaseDetailViewController : UIViewController
Swift
class SCSCaseDetailViewController : UIViewController
-
Delegate protocol used to receive events about the actions performed by the case detail view controller.
See moreDeclaration
Objective-C
@protocol SCSCaseDetailViewControllerDelegate <NSObject>
Swift
protocol SCSCaseDetailViewControllerDelegate : NSObjectProtocol
-
Possible Case error response codes.
See moreDeclaration
Objective-C
enum SCSCaseErrorCode : NSInteger {}
Swift
enum SCSCaseErrorCode : Int
-
View controller that shows a list of cases for a particular user.
This controller assumes that it will be presented within an instance of
UINavigationController
. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.SCSCaseListViewController *caseController = [SCSCaseListViewController new]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:caseController]; [self presentViewController:navigationController animated:YES completion:nil];
Warning
If you instantiate this view controller and display it manually, you’ll also need to displaySCSCaseDetailViewController
. When a user selects a case from the case list, present your Case Detail view controller from the-[SCSCaseListViewControllerDelegate caseList:selectedCaseWithId:]
method in yourSCSCaseListViewControllerDelegate
implementation. If you don’t do this, nothing will happen when a user taps on a specific case in the case list!Declaration
Objective-C
@interface SCSCaseListViewController : UIViewController
Swift
class SCSCaseListViewController : UIViewController
-
Delegate protocol used to receive events about the actions performed by the case list view controller.
See moreDeclaration
Objective-C
@protocol SCSCaseListViewControllerDelegate <NSObject>
Swift
protocol SCSCaseListViewControllerDelegate : NSObjectProtocol
-
Concrete subclass of
See moreSCSNotification
representing a push notification for a case.Declaration
Objective-C
@interface SCSCaseNotification : SCSNotification
Swift
class SCSCaseNotification : SCSNotification
-
Possible result types for the case publisher view controller.
This value is used by the
See moreSCSCasePublisherViewControllerDelegate
protocol method.Declaration
Objective-C
enum SCSCasePublisherResult : NSInteger {}
Swift
enum SCSCasePublisherResult : Int
-
View controller that lets users create a case and submit it to Service Cloud.
This controller assumes that it will be presented within an instance of
UINavigationController
. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.
See moreSCSCasePublisherViewController *caseController = [SCSCasePublisherViewController new]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:caseController]; [self presentViewController:navigationController animated:YES completion:nil];
Declaration
Objective-C
@interface SCSCasePublisherViewController : UIViewController
Swift
class SCSCasePublisherViewController : UIViewController
-
Delegate protocol used to receive events about the actions performed by the case publisher view controller.
See moreDeclaration
Objective-C
@protocol SCSCasePublisherViewControllerDelegate <NSObject>
Swift
protocol SCSCasePublisherViewControllerDelegate : NSObjectProtocol